package com.example.hms.controller;

import com.example.hms.entity.SystemLog;
import com.example.hms.service.SystemLogService;
import com.example.hms.ulit.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("systemLog")
public class SystemLogController {
    @Resource
    private SystemLogService systemLogService;

    @RequestMapping(value = "/selectAllSystemLog",method = RequestMethod.GET)
    public Result querySystemLog(SystemLog systemLog){
        return systemLogService.selectAllSystemLog(systemLog);
    }

}
